$def with (rows,group)
<table>
	<tr>
		<th>mac</th>
		<th>ip</th>
		<th>delete</th>
	</tr>
$for row in rows:
	<tr>
		<td>$(row[0])</td>
		<td>$str(IP(row[1]))</td>
		<td>
			<form method=post>
				<input type='submit' name='del' value='del'>
				<input type='hidden' name=delmac value=$(row[0])>
			</form>
		</td>
	</tr>
</table>
<form method=post>
<textarea rows="4" cols="50" name=macs placeholder="comma seperated mac addresses"></textarea><br />
<input type=submit name=add_mac value=AddEntry>
<input type=hidden name=group value=$group>
</form>

